package service;

import dao.PrintDao;
import entity.Print;
import service.PrintService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service("printService")
public class PrintServiceImpl implements PrintService {
    @Resource(name = "printDaoInk")
    private PrintDao printDao;

    @Override
    public int add(Print print) {
        return printDao.add(print);
    }
}
